"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.RoomGameInfo = void 0;
const DateUtil_1 = require("../../src/engine/utils/DateUtil");
class RoomGameInfo {
    constructor() {
        this.game_state = 0; //游戏状态
        this.current_chair = 0; //到谁回合
        this.trusteeList = []; //托管
        this.next_turn_time = 0;
        this.can_auto_time = 0;
        this.apply_dismiss = 0; //解散发起人
        this.apply_dismiss_time = 0; //申请时间
        this.apply_dismissList = []; //解散状态 0:未投票 1:同意 2:拒绝
        this.apply_dismiss_refuse = 0; //拒绝人
        this.last_chair = 0; //
        this.isOneRound = false; //是否已经循环了一轮
        this.handCardList = [];
    }
    resetNextTime(room) {
        this.can_auto_time = 0;
        this.next_turn_time = DateUtil_1.default.now() + room.conf["tuoguan_time"] * 1000; //叫分15秒
    }
}
exports.RoomGameInfo = RoomGameInfo;
